import Mock from 'mockjs'

export default {
    users: Mock.mock({
        code: 200,
        success: true,
        data: {
            'total': '@integer(10000,20000)',
            'data|10': [
                {
                    'id|+1': 1,
                    'avatar': 'https://api.multiavatar.com/@cname().png',
                    'username': '@first',
                    'nickname': '@cname',
                    'email': '@email',
                    'vip': '@boolean',
                    'status': '@integer(0,1)',
                    'total': 100000000000,
                    'used': '@integer(0,100000000000)',
                    'balance': '@integer(0,1000)'
                }
            ]
        }
    })
}